package com.demo.controller;

import com.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @Author :蕉绿
 * @Date : 2023/2/8 8:40
 * @Version : V1.0
 * @Description :
 */


@Controller
public class UserController {

    private UserService service;


    @Autowired
    public UserController(UserService service) {
        this.service = service;
    }

    public void getUser() {
        service.ServiceUser();
    }

}
